@scale: 75rem;
.font(@number) {
    html[data-dpr='1'] &  {
        font-size: @number;
    }
    html[data-dpr='2'] &  {
        font-size: @number * 2;
    }
    html[data-dpr='3'] &  {
        font-size: @number * 3;
    }
   
}
a{
    text-decoration: none;
}
html{
    // min-height: 100%;
    -webkit-text-size-adjust: 100%;
}
input,button{
    -webkit-appearance: none;
    border:0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body::-webkit-scrollbar{
    width:0;
    height:0;
}
body{
    margin:0;
    // height: 100%;
}
.root{
    height: 100%;
}

.root-bg{
    // height: 100%;
    // min-height: 667px;
    background: url('./images/root_bg.png') no-repeat;
    background-size: 100% 100%;
    padding: 500/@scale 0 40/@scale;
    box-sizing: border-box;
}
.list{
    margin: 20/@scale;
    margin-top:0;
    height: 140/@scale;
    background-color: #ffffff;  
    border-radius: 10/@scale;
    display: flex;
    display: -webkit-box;
    .list-item{
        // font-size: 12px;
        .font(14px);
        margin-top:30/@scale;
        color:#ccc;
        text-align: center;
        .info{
            margin-top:10/@scale;
            display: block;
        }
        i{
            display: block;
            margin: 0 auto;
        }
        &:nth-child(1) {
            width: 25%;
            
            i{
                background: url('./images/download.png') no-repeat;
                background-size: 100% 100%;
                width:42/@scale;
                height: 42/@scale;
            }
        }
        &:nth-child(2) {
            width:50%;
            display: flex;
            // display: -webkit-box;
            justify-content: space-between;
            .icon-middle{
                background: url('./images/iphone.png') no-repeat;
                background-size: 100% 100%;
                width:21/@scale;
                height: 42/@scale;
            }
        }
        &:nth-child(3) {
            width: 25%;
            i{
                background: url('./images/money.png') no-repeat;
                background-size: 100% 100%;
                width:42/@scale;
                height: 42/@scale;
            }
        }
    }
    .item-arrow{
        width:44/@scale;
        height:44/@scale;
        background: url('./images/arrow.png') no-repeat;
        background-size: 100% 100%;
        margin-top:5/@scale;
    }
    .item-middle{
        // flex:1;
    }
}
.register{
    padding: 20/@scale 30/@scale;
    bottom: 20/@scale;
    //margin: 20/@scale;
    height: 640/@scale;
    //background: url('./images/register.png')  no-repeat;
    //background-size: 100% 100%;
    //.register-title{
    //    line-height: 30/@scale;
    //    text-align: center;
    //    margin:0;
    //    background: url('./images/line.png') no-repeat center center;
    //    background-size: 100%;
    //    // font-size: 20px;
    //    .font(20px);
    //}
    .register-form-item{
        
        margin: 40/@scale 0;
        input {
            border:1px solid #ccc;
            height: 80/@scale;
            border-radius: 10/@scale;
            width: 100%;
            text-indent: 30/@scale;
            outline: none;
            .font(14px);
            &:focus{
                border-color: #66afe9;
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
                box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
            }
        }
        .register-button{
            height: 80/@scale;
            border-radius: 10/@scale;
            width: 100%;
            outline: none;
            text-align: center;
            background: #ffc21f;
            color:#ffffff;
            // font-size: 20px;
            .font(20px);
            border:none;
            &:active{
                background: #ffc21f;
            }
        }
        &:last-child{
            margin-bottom: 20/@scale;
        }
    }
    .captcha-wrapper{
        display: flex;
        .captcha-btn-wrapper{
            width:200/@scale;
            text-align: center;
            .img{
                width:160/@scale;
                height: 70/@scale;
            
            }
            .captcha-btn{
                line-height: 80/@scale;
                // font-size: 16px;
                .font(14px);
                // border:1px solid red;
                border-radius: 10/@scale;
                color:#ffffff;
                text-align: center;
                background: #ffc21f;
                &:active{
                    background: #ffc21f;
                }
            }
            .disabled-btn{
                opacity: 0.5;
                &:active{
                    background: #ffc21f;
                }
            }
        }
        .captcha-left{
            flex:1;
            margin-right:20/@scale;
        }
    }
}
.toast{
    position: fixed;
    z-index: 9999;
    left:50%;
    top:40%;
    // height: 80/@scale;
    max-width: 300/@scale;
    // line-height: 80/@scale;
    transform: translate(-50%,-50%);
    background: rgba(17, 17, 17, 0.7);
    text-align: center;
    border-radius: 10/@scale;
    padding:20/@scale;
    .font(14px);
    color:#ffffff;
    // padding: 6/@scale 12@scale;
}
.display-none{
    display: none;
}
.protocol{
    text-align: center;
    .font(14px);
    color:#cccccc;
    a{
        color: #cccccc;
        //text-decoration: underline;
    }
}